Skip to content

feat: 支持 sitemap 接口#1

Open
dreamerblue wants to merge 2 commits into
masterfrom
feature-sitemap
Open

feat: 支持 sitemap 接口#1
dreamerblue wants to merge 2 commits into
masterfrom
feature-sitemap

Conversation

@dreamerblue
Copy link
Copy Markdown
Member

@dreamerblue dreamerblue commented Nov 15, 2023

sitemap.xml 接口,分卷输出,url 为 /sitemap/ranklist.xml

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap><loc>https://rl.algoux.org/sitemap/ranklist_vol_1.txt</loc></sitemap>
  <sitemap><loc>https://rl.algoux.org/sitemap/ranklist_vol_2.txt</loc></sitemap>
</sitemapindex>

sitemap vol txt 接口,每个分卷内不超过 1000 个网址,url 为 /sitemap/ranklist_vol_${index}.txt

https://rl.algoux.org/ranklist/uniqueKey1
https://rl.algoux.org/ranklist/uniqueKey2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant